home *** CD-ROM | disk | FTP | other *** search
/ L' Effet Pommier 3 / L'Effet Pommier - Volume 03.iso / Programmation / Alpha ƒ / Help / CodeWarrior < prev    next >
Text File  |  1995-11-16  |  3KB  |  63 lines

  1.           CodeWarrior
  2.  
  3. Code Warrior now has support for external editors. Alpha's support is 
  4. implemented entirely in Tcl, Alpha's macro language. The source can be 
  5. found in :Tcl:SystemCode:codeWarrior.tcl.
  6.  
  7. While CodeWarrior (as of CW7) still doesn't vector open-file requests to 
  8. editors, Pete Gontier's 'ClickWarrior' init can do it for you.  Drop 
  9. 'ClickWarrior' in your system folder, restart, and selections from 
  10. CodeWarrior's project window will be vectored to Alpha. See here for the 
  11. Tcl code that was used (no changes to Alpha's core were necessary).
  12.  
  13. Alpha/CodeWarrior interaction does not need any setup. By default, 
  14. windows with any C or C++ suffixes will open with CodeWarrior and 
  15. ThinkReference menus. The CodeWarrior menu is explained below:
  16.  
  17. CodeWarrior
  18.     "Switch To"            - Switch to CodeWarrior app.
  19.     "Werks Flags"    
  20.         "Debugger"        - Specify debugger option on run command.
  21.     "Create FileSet"    - Create a fileset containing all text files in 
  22.                           the project currently opened in CodeWarrior. 
  23.                           Note that as of 11/30/94, MetroWerks still had 
  24.                           bugs in their support of the events used for 
  25.                           this feature, so it might not always wowrk.
  26.     
  27.     "Add File"            - Add frontmost window to the current project.
  28.     "Compile"            - Compile frontmost window.
  29.     "Compile Files"        - Compile all windows in the same mode as the
  30.                           frontmost window.
  31.     "Check Syntax"        - Check syntax of frontmost window.
  32.     "Precompile╔"        - Prompt user for destination and compile 
  33.                           frontmost window to destination.
  34.                           Destination must already exist.    
  35.     "Update"            - Update current project.
  36.     "Make"                - Make current project.
  37.     
  38.     "Launch Debugger"    - Launch the metrowerks debugger.
  39.     "Set Breakpoint"    - Set a breakpoint at the current line of the
  40.                           frontmost window.
  41.     "Clear Breakpoint"    - Clear a breakpoint at the current line of the
  42.                           frontmost window.
  43.     "Show Source"        - show the current line of the frontmost window
  44.                           in the debugger.
  45.  
  46.     "Next Error"        - Display next error.
  47.     "Run"                - Run current project.
  48.     
  49. All of the functions that cause compilation to take place return any 
  50. errors in a window called "* Compiler Errors *". Individual errors can 
  51. be selected by using the up and down arrow keys. Return/Enter is used to 
  52. bring up the offending file at the correct line. 
  53.  
  54. Unlike THINK, Metrowerks does not provide a way to vector open window 
  55. events to external editors.  Currently (11/30/94), there is also no way to 
  56. display the includes compiled into a project file.
  57.  
  58. The latest version of Alpha is always available under public/Alpha on
  59. cs.rice.edu.
  60.  
  61. Pete Keleher
  62. 11/30/94 
  63.